package com.chanceit.ssss.activity;

import org.gl.customview.ViewPager;

import android.os.Bundle;

import com.chanceit.ssss.adapters.SectionsPagerAdapter;
import com.chanceit.ssss.fragments.CarExceptionHistoryListFragment;

public class CarExceptionActivity extends BaseFragmentActivity {
	SectionsPagerAdapter mSectionsPagerAdapter;
	ViewPager mViewPager;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_fragment_container);
		if (findViewById(R.id.fragment_container) != null) {
			// However, if we're being restored from a previous state,
			// then we don't need to do anything and should return or else
			// we could end up with overlapping fragments.
			if (savedInstanceState != null) {
				return;
			}
			getSupportFragmentManager().beginTransaction()
					.add(R.id.fragment_container, new CarExceptionHistoryListFragment())
					.commit();

		}
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
	}
}
